Skip to main content

All Questions

Tagged with
0votes
1answer
495views

Loop through specific set of directories

The following code loops through ALL directories under current path to perform a count on compressed xml files: for i in *xml.gz; do echo "XML" "${PWD##*/}" "$i" $(gunzip -c $i | echo "scale=0; `...
blom0344's user avatar

close